<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<html>
<head>
<title>创建源代码</title>
<style>

</style>
</head>
<body>	
	<ul class="nav nav-tabs" id="formUl" role="tablist">
	  <li class="active"><a href="${cxt}/gen/form">业务表添加</a></li>
	  <li><a href="#">业务表列表</a></li>
	</ul>
	<form:form id="inputForm" modelAttribute="genTable" action="${ctx}/gen/form" method="post" class="form-horizontal">
		<form:hidden path="id"/>
		<br/>
		<div class="control-group">
			<label class="control-label">表名:</label>
			<div class="controls">
				<form:select path="name" class="input-xxlarge">
					<form:options items="${tableList}" itemLabel="name" itemValue="name" htmlEscape="false"/>
				</form:select>
			</div>
			<div class="form-actions">
				<input id="btnSubmit" class="btn btn-primary" type="submit" value="下一步"/>&nbsp;
				<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
			</div>
		</div>
		<div class="form-group">
		<label class="col-sm-2 control-label">Email</label>
		<div class="col-sm-10">
			<p class="form-control-static">email@example.com</p>
		</div>
	</div>
	</form:form>
</body>
</html>